package ro.isdc.navigator.retriever.jdbc.strategy;

/**
 * Strategy interface for computing the paginated SQL.
 * 
 * @author Andrei Chirila / ISDC! Romania
 * @version 1.0
 * @date Jul 8, 2009
 */
public interface IComputePaginatedSQLStrategy {
  /**
   * Computes the paginated SQL.
   * 
   * @param SQL the original SQL to be paginated
   * @param sqlType the type of the SQL: INDEXED OR NAMED
   * @param param1 the start index
   * @param blockSize the block size
   * @return the paginated computed SQL
   */
   PaginatedSQL computePaginatedSQL(String SQL, SQLType sqlType, int startIndex, int blockSize);
}
